#ifndef DNA_H
#define DNA_H

#include <QObject>
#include <QColor>


/**
	@author Stefan Weigert <stefan.weigert@mailbox.tu-dresden.de>
*/
class Dna : public QObject
{
		Q_OBJECT

	public:
		Dna ( int pregnanceDuration, QColor color );
		Dna ( Dna* );

		int getPregnanceDuration();
		float getMaxAge();
		float getViewDistance();
		float getMaxSpeed();
		float getAttackStrength();
		float getWaitWillingness();
		QColor getColor();
		void setColor ( QColor color );

	private:
		int pregnanceDuration;

		float viewDistance;
		float maxAge;
		float maxSpeed;
		float attackStrength;
		float waitWillingness;

		QColor color;
};

#endif
